import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //查询授信占用
  getMonitor: (query) => api.get(`${config.interfaces.type5}counterparty-server/counterpartyCredit/getMonitor`, query),

  //获取额度占用情况明细
  getMonitorDetail: (query) => api.get(`${config.interfaces.type5}counterparty-server/counterpartyCredit/getMonitorDetail`, query),

  //获取最近交易日
  getRecentDay: (query) => api.get(`${config.interfaces.type5}counterparty-server/counterpartyCredit/getRecentDay`, query),
};
